//
//  HotViewController.m
//  A_GOGO
//
//  Created by Liuiu on 16/1/20.
//  Copyright © 2016年 www.lanou3g.com. All rights reserved.
//

#import "HotViewController.h"
#import "UIColor+Wonderful.h"

@interface HotViewController ()

@end

@implementation HotViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor =[UIColor whiteColor];
    self.navigationItem.title = @"游戏视频";
    
    
    UIBarButtonItem *item = [[UIBarButtonItem alloc]initWithImage:[UIImage imageNamed:@"return"] style:UIBarButtonItemStylePlain target:self action:@selector(back:)];
    item.tintColor = [UIColor doderBlue];
    self.navigationItem.leftBarButtonItems = @[item];
    
    
}
- (void)back:(UIBarButtonItem *)btn
{
    [self.navigationController popToRootViewControllerAnimated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
